package cn.monkey.family.server.domain.uc.auth;

import cn.monkey.family.data.uc.auth.Authorization;

public interface AuthorizationManager {
    Authorization decrypt(String token);

    String encrypt(Authorization authorization);

    boolean isValidKey(String key);
}
